package com.hellogwt.client.event;

import com.google.gwt.event.shared.GwtEvent;

public class EditGreetingEvent extends GwtEvent<EditGreetingEventHandler> {

    public static Type<EditGreetingEventHandler> TYPE = new Type<EditGreetingEventHandler>();

    @Override
    public Type<EditGreetingEventHandler> getAssociatedType() {
        return TYPE;
    }

    @Override
    protected void dispatch(EditGreetingEventHandler handler) {
        handler.onEditGreeting(this);
    }
}